﻿package mortal.game.view.hardware
{
    import com.gengine.manager.*;
    import com.mui.controls.*;
    import extend.language.*;
    import mortal.component.window.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;
    import mortal.mvc.interfaces.*;

    public class OtherBrowserTipWindow extends BaseWindow
    {
        private var _btnClose:GLoadingButton;
        private static var _instance:OtherBrowserTipWindow;

        public function OtherBrowserTipWindow(param1:ILayer = null)
        {
            super(param1);
            setSize(737, 524);
            title = Language.getString(11704);
            return;
        }// end function

        override protected function setWindowCenter() : void
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            var _loc_1:* = ImagesConst.SoftHardWareTip;
            var _loc_2:* = BrowerManager.instance.getBrowserType();
            if (_loc_2 == "Sogou")
            {
                _loc_1 = ImagesConst.sougouHardWareTip;
            }
            pushUIToDisposeVec(UIFactory.gImageBitmap(_loc_1, 9, 36, this));
            return;
        }// end function

        override protected function disposeImpl(param1:Boolean = true) : void
        {
            super.disposeImpl(param1);
            return;
        }// end function

        public static function get instance() : OtherBrowserTipWindow
        {
            if (!_instance)
            {
                _instance = new OtherBrowserTipWindow;
            }
            return _instance;
        }// end function

    }
}
